package com.ecloud.service.translate;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 程序主入口类
 *
 * @author LiuGangQiang Create in 2020/01/24
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableCaching
public class TranslateApplication {
    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(TranslateApplication.class);
        app.setBannerMode(Banner.Mode.OFF);
        app.run(args);
    }
}